home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / cellgame.swf / scripts / frame_2 / PlaceObject2_14_87 / CLIPACTIONRECORD onClipEvent(load).as < prev   
Encoding:
Text File  |  2006-06-13  |  329 b   |  17 lines

  1. onClipEvent(load){
  2.    function hit(whichShot)
  3.    {
  4.       if(whichShot != _root.newshot5000)
  5.       {
  6.          _root.actions.score += 150;
  7.          _root.actions.explosion(this);
  8.          removeMovieClip(whichShot);
  9.          removeMovieClip(this);
  10.       }
  11.    }
  12.    if(_name != "seeker")
  13.    {
  14.       speed = 5;
  15.    }
  16. }
  17.